package common;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBManager {

	public static Connection getConnection() {
		try {
			Class.forName("com.mysql.jdbc.Driver");
			Connection con = DriverManager.getConnection(
					"jdbc:mysql://192.168.3.190/JA10DB?zeroDateTimeBehavior=convertToNull",
					"JA10",
					"JA10");
			return con;
		}
		catch(Exception e) {
			throw new IllegalStateException(e);
		}
	}

}
